package com.lwq.im.chartdemo.config.propperties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "chart.socket")
@Data
public class ChartProperties {

    /**
     * 端口号
     */
    private Integer port;

    /**
     * 写空闲（秒）
     */
    private Long writeIdle;

    /**
     * 读空闲（秒）
     */
    private Long readIdle;
}
